from math_operations import add,multiply
a,b=input().split(" ")
print(add(int(a),int(b)))
print(multiply(int(a),int(b)))
